<template>
  <div>
    <van-sticky>
      <van-nav-bar left-arrow title="黑马优购" @click-left="$router.go(-1)" />
    </van-sticky>

    <van-address-edit
      :area-list="areaList"
      show-postal
      show-set-default
      :area-columns-placeholder="['请选择', '请选择', '请选择']"
      @save="onSave"
    />
  </div>
</template>

<script>
import areaList from "@/utils/area.js";
export default {
  data() {
    return {
      areaList
    };
  },
  methods: {
    // content就是表单的内容
    onSave(content) {
        console.log(content)
    }
  }
};
</script>

<style lang="less" scoped>
</style>